package com.zw.pm.module.integrate.schedule;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.pm.module.project.build.ProjectModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Description: 完成时间 model
 *
 * @Author: China.sgl
 * @Date: 2019/12/6 08:42
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ScheduleModel extends ProjectModel {

    /** 附加属性，用于查询条件和搜索结果 */
    private Integer year;
    private Integer taskType;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date consumeCompleteTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sprayCompleteTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date packCompleteTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date storeCompleteTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date firstShipTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date lastShipTime;

}
